//
//  MyCouponModel.h
//  MyNewProject
//
//  Created by 王春辉 on 1/19/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import "WJBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface MyCouponDataModel : NSObject
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *coupon_id;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *status;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *type; // 1新人2普通
@property (nonatomic, copy) NSString *money;
@property (nonatomic, copy) NSString *tiaojian;
@property (nonatomic, copy) NSString *youxiaoqi;
@property (nonatomic, copy) NSString *msg;
@end

@interface MyCouponModel : WJBaseModel
@property (nonatomic, strong) NSArray <MyCouponDataModel *>* data;
@end

NS_ASSUME_NONNULL_END
/*
{
    "status": "ok",
    "data": [
        {
            "id": "1",
            "coupon_id": "1",
            "uid": "1",
            "status": "1",
            "time": "2019-12-30 19:25:37",
            "type": "1",
            "money": "999",
            "tiaojian": "200",
            "youxiaoqi": "2019-12-25 13:39:46",
            "msg": ""
        },
        {
            "id": "2",
            "coupon_id": "2",
            "uid": "1",
            "status": "1",
            "time": "2019-12-30 19:28:21",
            "type": "1",
            "money": "998",
            "tiaojian": "300",
            "youxiaoqi": "2019-12-25 13:40:33",
            "msg": ""
        }
    ]
}
*/
